home *** CD-ROM | disk | FTP | other *** search
/ Family Forum 261 / SOMC Family Forum 261.iso / Xtras / Behavior Library.cst / 00038_Script_Video Rewind < prev    next >
Text File  |  1997-11-17  |  817b  |  28 lines

  1. -- Video Rewind MouseUp
  2.  
  3.  
  4. -- behavior library version 1.1
  5. -- a control
  6. -- use in combination with Button PushButton to create a better control button.
  7.  
  8.  
  9.  
  10. property videoSprite -- the sprite number that is getting controlled
  11.  
  12. on mouseUp me
  13.   set the movietime of sprite the VideoSprite of me = 0
  14. end
  15.  
  16.  
  17.  
  18. on getPropertyDescriptionList
  19.   set p_list = [    #videoSprite: [ #comment: "Video Sprite Channel:",                     #format: #integer,                    #default:  1 ]                  ]
  20.   return p_list 
  21. end
  22.  
  23. on getBehaviorDescription
  24.   return "Rewinds a digital video sprite in the current frame. Attach to a button with the appropriate label." & RETURN & "PARAMETERS:" & RETURN & "ò Video Sprite - Enter the number of the sprite channel in which the video is displayed."  
  25.   
  26. end
  27.  
  28.